package basis.hashset;

import java.util.HashSet;

public class HashTest {
    public static void main(String[] args) {
        HashSet<Student> students = new HashSet<>();
        Student xiao = new Student("xiao");
        Student xiao1 = new Student("xiao");
        students.add(xiao);
        boolean add = students.add(xiao1);
        System.out.println(add);
    }
}
